ArcGIS Runtime SDK for WPF - Library Reference
LatLonMapGrid Constructor(LatLonMapGridLabelStyle,IEnumerable<MapGridLevel>)
See Also 
ESRI.ArcGIS.Client Namespace > LatLonMapGrid Class > LatLonMapGrid Constructor : LatLonMapGrid Constructor(LatLonMapGridLabelStyle,IEnumerable<MapGridLevel>)

labelStyle
The LatLonMapGridLabelStyle with which to display the labels for this MapGrid (Decimal Degrees or Degrees, Minutes, Seconds).
levels
The collection of MapGridLevels for this MapGrid. Use this constructor to override the styles of the MapGridLevels. The collection must contain 2 MapGridLevels.
Create a LatLonMapGrid with the specified Levels and LabelStyle. A LatLonMapGrid comprises 2 MapGridLevels. The number of levels cannot be changed.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal labelStyle As LatLonMapGridLabelStyle, _
   ByVal levels As IEnumerable(Of MapGridLevel) _
)
C# 
public LatLonMapGrid( 
   LatLonMapGridLabelStyle labelStyle,
   IEnumerable<MapGridLevel> levels
)

Parameters

labelStyle
The LatLonMapGridLabelStyle with which to display the labels for this MapGrid (Decimal Degrees or Degrees, Minutes, Seconds).
levels
The collection of MapGridLevels for this MapGrid. Use this constructor to override the styles of the MapGridLevels. The collection must contain 2 MapGridLevels.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.